<?php
/**
 * ContainerFixture
 *
 */
class ContainerFixture extends CakeTestFixture {

/**
 * Table name
 *
 * @var string
 */
	public $table = 'container';

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
		'container_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 150, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'no_of_vehicles' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 10, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'cont_date' => array('type' => 'date', 'null' => true, 'default' => null),
		'invoice_no' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 15, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'dk_code' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 20, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'shipper' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'consign_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'venning_date' => array('type' => 'date', 'null' => true, 'default' => null),
		'etd' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'eta' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'freight_cost' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 20, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'freight_rate' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 20, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'ttl_freight' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'shipment_cost' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 20, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'shipment_rate' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 20, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'ttl_shipment' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'local_charges' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 20, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'total_cost' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 20, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'bl_send' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'bl_recived' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'attach_id' => array('type' => 'integer', 'null' => true, 'default' => null),
		'indexes' => array(
			'PRIMARY' => array('column' => 'id', 'unique' => 1)
		),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => 1,
			'container_name' => 'Lorem ipsum dolor sit amet',
			'no_of_vehicles' => 'Lorem ip',
			'cont_date' => '2013-12-19',
			'invoice_no' => 'Lorem ipsum d',
			'dk_code' => 'Lorem ipsum dolor ',
			'shipper' => 'Lorem ipsum dolor sit amet',
			'consign_name' => 'Lorem ipsum dolor sit amet',
			'venning_date' => '2013-12-19',
			'etd' => 'Lorem ipsum dolor sit amet',
			'eta' => 'Lorem ipsum dolor sit amet',
			'freight_cost' => 'Lorem ipsum dolor ',
			'freight_rate' => 'Lorem ipsum dolor ',
			'ttl_freight' => 'Lorem ipsum dolor sit amet',
			'shipment_cost' => 'Lorem ipsum dolor ',
			'shipment_rate' => 'Lorem ipsum dolor ',
			'ttl_shipment' => 'Lorem ipsum dolor sit amet',
			'local_charges' => 'Lorem ipsum dolor ',
			'total_cost' => 'Lorem ipsum dolor ',
			'bl_send' => 'Lorem ipsum dolor sit amet',
			'bl_recived' => 'Lorem ipsum dolor sit amet',
			'attach_id' => 1
		),
	);

}
